/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.celephais.objectGenerator.fileGenerators;

import com.celephais.objectGenerator.ObjectGenerator;
import java.io.File;

/**
 * @author Eugene Shen
 */
public class ClientServiceAsyncGenerator extends FileGenerator {

	protected static final String CLIENT_SERVICE_ASYNC_TEMPL_DIR = "templates" + File.separator + "clientServiceAsync" + File.separator;

	public ClientServiceAsyncGenerator(ObjectGenerator parent) {
		super(parent);
	}

	@Override
	public String getTemplateDir() {
		return CLIENT_SERVICE_ASYNC_TEMPL_DIR;
	}

	@Override
	public String generateAdditional(String fileContents) {
		return fileContents;
	}

	@Override
	public String getFileName(String baseClassName) {
		return baseClassName + "ServiceAsync";
	}

	@Override
	public String getOutputDir(String srcDir) {
		return srcDir + File.separator + "client" + File.separator + "service";
	}
}
